/*
 *
 * <p>Article.java</p>
 *   
 * Created on 2009-7-28 by sunan
 *
 * $Log:$
 */

package cn.hs.blog.article.module;

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Article {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;

    @Persistent
    private String author;

    @Persistent
    private String title;

    @Persistent
    private String content;

    @Persistent
    private Date date;

    @Persistent
    private String beable;

    @Persistent
    private Long cUser;

    @Persistent
    private Date cDate;

    @Persistent
    private Long luUser;

    @Persistent
    private Date luDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getBeable() {
        return beable;
    }

    public void setBeable(String beable) {
        this.beable = beable;
    }

    public Long getCUser() {
        return cUser;
    }

    public void setCUser(Long user) {
        cUser = user;
    }

    public Date getCDate() {
        return cDate;
    }

    public void setCDate(Date date) {
        cDate = date;
    }

    public Long getLuUser() {
        return luUser;
    }

    public void setLuUser(Long luUser) {
        this.luUser = luUser;
    }

    public Date getLuDate() {
        return luDate;
    }

    public void setLuDate(Date luDate) {
        this.luDate = luDate;
    }

}
